package com.battle.pojo.vo.exam;

import com.battle.pojo.enums.QuestionBankTypeEnum;
import jakarta.persistence.Column;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author anni.zhu
 * @author anni.zhu@king-v.com
 * Created in 2025/2/24 13:29
 */
@Data
public class AppointQuestionJsonVo {
    /**
     * 题目id
     */
    @Column()
    private Long questionId;

    /**
     * 题目名称
     */
    @Column()
    private String name;

    /**
     * 题目类型：0单选，1多选，2判断
     */
    @Column()
    private QuestionBankTypeEnum type;

    /**
     * 题目答案
     */
    @Column()
    private String answer;

    /**
     * 所属题库名称
     */
    private String questionBankName;

    /**
     * 分数
     */
    private BigDecimal score;

    /**
     * 错误次数
     */
    private Long errorCount;
}
